import request from '@/utils/request'

/**
 *
 * 获取小程序系统设置项
 * @param plaid
 * @param appid
 * @param action
 * @returns {*}
 */
export function getAppSettingForm(plaid, appid, action) {
  return request({
    url: '/platform/min_app/setting/' + action,
    method: 'get',
    params: { plaid, appid }
  })
}

/**
 * 获取小程序系统设置项列表
 * @param plaid
 * @param appid
 * @returns {*}
 */
export function getAppSettingIndex(plaid, appid) {
  return request({
    url: '/platform/min_app/setting/index',
    method: 'get',
    params: { plaid, appid }
  })
}
